package cn.juforg.gobang;

/**
 * 
 * @author Juforg
 * 线类
 */
public class Line{
	float xstart,ystart,xstop,ystop;
	public float getXstart() {
		return xstart;
	}
	public void setXstart(float xstart) {
		this.xstart = xstart;
	}
	public float getYstart() {
		return ystart;
	}
	public void setYstart(float ystart) {
		this.ystart = ystart;
	}
	public float getXstop() {
		return xstop;
	}
	public void setXstop(float xstop) {
		this.xstop = xstop;
	}
	public float getYstop() {
		return ystop;
	}
	public void setYstop(float ystop) {
		this.ystop = ystop;
	}
	public Line(float xstart, float ystart, float xstop, float ystop) {
		super();
		this.xstart = xstart;
		this.ystart = ystart;
		this.xstop = xstop;
		this.ystop = ystop;
	}
	
	@Override
	public String toString() {
		return "line-->xstart:"+xstart+",xstop:"+xstop+", ystart:"+ystart+", ystop:"+ystop;
	}

}
